﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SNSpirit.Service.Certificate
{
    public interface ICertificateProvider
    {
    }

    public interface ICertificateProvider<T> : ICertificateProvider where T : ICertificate
    {
        IEnumerable<T> GetCertificates();
    }

    public interface INamePasswordCertificateProvider : ICertificateProvider<INamePasswordCertificate>
    {
        ICertificate GetCertificate(string username);
    }
}